package cn.livingCloud.service;

import cn.livingCloud.dto.ImageListDto;
import cn.livingCloud.dto.ImageManageListDto;
import cn.livingCloud.dto.ImageUploadConfigDto;
import cn.livingCloud.dto.ImageUploadDto;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by tangxu on 16-1-11.
 */
public interface ImageUploadService {
    ImageUploadDto saveUploadImage(ImageUploadDto imageUploadDto);

    void loadImage(HttpServletResponse response, HttpServletRequest request, String imageUrl);

    ImageUploadConfigDto loadImageUploadConfigDto();

    void loadImageListDto(ImageListDto listDto);

    void list(ImageManageListDto listDto);

    void archive(String uuid, boolean target);
}
